﻿<Window x:Class="BestCode.Creds.View.VwEditFoto"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="VwEditFoto" Height="217" Width="620">
    <Grid>
        <TextBox Name="txtFoto" KeyUp="TxtFoto_OnKeyUp" HorizontalAlignment="Left" Height="23" Margin="100,32,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="120" Text="{Binding SelectedStudent.Foto, Mode=TwoWay}"/>
        <TextBlock HorizontalAlignment="Left" Margin="44,32,0,0" TextWrapping="Wrap" Text="Foto :" VerticalAlignment="Top"/>
        <Button Content="UPDATE" HorizontalAlignment="Left" Margin="46,137,0,0" VerticalAlignment="Top" Width="197" Height="40" Click="Button_Click"/>
        <TextBlock Margin="46,10,16,0" TextWrapping="Wrap" Text="{Binding Nombres, Mode=TwoWay}" VerticalAlignment="Top" FontWeight="Bold"/>
        <TextBox KeyUp="TxtFoto_OnKeyUp" HorizontalAlignment="Left" Height="23" Margin="100,60,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="496" Text="{Binding SelectedStudent.Calle, Mode=TwoWay}"/>
        <TextBlock HorizontalAlignment="Left" Margin="44,57,0,0" TextWrapping="Wrap" Text="Direccion" VerticalAlignment="Top"/>
        <CheckBox Content="Habilitado" HorizontalAlignment="Left" Margin="100,117,0,0" VerticalAlignment="Top" IsChecked="{Binding SelectedStudent.Habilitado, Mode=TwoWay}"/>
        <TextBox KeyUp="TxtFoto_OnKeyUp" HorizontalAlignment="Left" Height="23" Margin="100,89,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="120" Text="{Binding SelectedStudent.NumDireccion, Mode=TwoWay}"/>
        <TextBlock HorizontalAlignment="Left" Margin="44,86,0,0" TextWrapping="Wrap" Text="Num." VerticalAlignment="Top"/>
        <TextBox KeyUp="TxtFoto_OnKeyUp" HorizontalAlignment="Left" Height="23" Margin="302,91,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="294" Text="{Binding SelectedStudent.Zona, Mode=TwoWay}"/>
        <TextBlock HorizontalAlignment="Left" Margin="246,88,0,0" TextWrapping="Wrap" Text="Zona" VerticalAlignment="Top"/>

    </Grid>
</Window>
